package org.example.service.Impl;

import org.example.domain.User;
import org.example.dao.UserDao;
import org.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private static UserDao userDao;
    @Override
    public List<User> getAll() {
        return userDao.getAll();
    }

}
